package com.common.game;

import java.util.Random;

import org.apache.log4j.Logger;

/**
 * User: wattsc5
 * <p/>
 * Date: 2/27/12
 */
public class Dice
{
	private static final Logger logger = Logger.getLogger(Dice.class);

	private Random random = new Random();

	private int roll;

	public void rollDice()
	{
		this.roll = random.nextInt(6) + 1;
	}

	public int getValue()
	{
		return roll;
	}

	public void setValue(Integer value)
	{
		this.roll = value;
	}
}

